package com.aabte.design2.behavioral.strategy;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/4
 */
public class ConcreteStrategyDivision implements Strategy {
    @Override
    public int execute(int a, int b) {
        if (b == 0) {
            return 0;
        }
        return a / b;
    }
}
